package com.trafficsys.modules.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 角色
 */
@Data//lombok生成get set方法
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class Role {
    @TableId(value = "role_id", type = IdType.AUTO)
    private Integer roleId;//角色id
    private String roleName;//角色名

}
